Skip to content

feat(sandbox): add E2B cloud sandbox support#28

Merged
CrazyBoyM merged 3 commits into
shareAI-lab:mainfrom
Gui-Yue:support_e2b
Jan 27, 2026
Merged

feat(sandbox): add E2B cloud sandbox support#28
CrazyBoyM merged 3 commits into
shareAI-lab:mainfrom
Gui-Yue:support_e2b

Conversation

@Gui-Yue

@Gui-Yue Gui-Yue commented Jan 26, 2026

Copy link
Copy Markdown
Contributor
  • Add E2BSandbox, E2BFS, E2BTemplateBuilder
  • Add unit tests and E2E tests
  • Add bilingual docs and example

  - Add E2BSandbox, E2BFS, E2BTemplateBuilder
  - Add unit tests and E2E tests
  - Add bilingual docs and example
fix(test): add delay before Agent.resume to ensure store persistence
@Gui-Yue

Gui-Yue commented Jan 27, 2026

Copy link
Copy Markdown
Contributor Author

追加:
将 examples 独立化,使其可脱离主项目独立运行。

改动

  • 新增 examples/package.json,依赖 @shareai-lab/kode-sdk
  • 新增 examples/tsconfig.json
  • 新增 examples/README.md(中文)和 examples/README.en.md(英文)
  • 所有示例的 import 从 ../src 改为 @shareai-lab/kode-sdk
  • 主项目 devDependencies 添加 "@shareai-lab/kode-sdk": "file:.",支持 clone 后直接运行

使用方式

从主项目运行(开发者):

npm install
npm run example:getting-started

从 examples 目录独立运行(SDK 发布后):
cd examples
npm install
npm run getting-started

测试

- 主目录运行 examples 正常
- examples 目录独立运行正常
- 全部 23 个示例加载成功

  - Add examples/package.json and tsconfig.json
  - Add examples/README.md (zh-CN) and README.en.md
  - Add self-reference in root devDependencies for seamless npm install
  - Update all imports to use @shareai-lab/kode-sdk
@CrazyBoyM
CrazyBoyM merged commit 9b84765 into shareAI-lab:main Jan 27, 2026
7 checks passed
@Gui-Yue
Gui-Yue deleted the support_e2b branch February 9, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants